package com.kaili.pojo.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("hs_opt_goods_detail")
public class HsOptGoodsDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *主键id
     */
    @TableId("goods_id")
    private String goodsId;

    /**
     * 运单号
     */
    @TableField("ewb_no")
    private String ewbNo;
    /**
     * 货物名称
     */
    @TableField("goods_name")
    private String goodsName;
    /**
     * 包装类型代码
     */
    @TableField("pack_type_code")
    private Integer packTypeCode;
    /**
     * 件数
     */
    private Integer piece;
    /**
     * 重量
     */
    private BigDecimal weight;
    /**
     * 体积
     */
    private BigDecimal vol;
    /**
     * 单价数量
     */
    @TableField("unit_price")
    private BigDecimal unitPrice;
    /**
     * 单价单位代码
     */
    @TableField("unit_code")
    private Integer unitCode;
    /**
     * 运费
     */
    @TableField("freight_charge")
    private BigDecimal freightCharge;
    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getPackTypeCode() {
        return packTypeCode;
    }

    public void setPackTypeCode(Integer packTypeCode) {
        this.packTypeCode = packTypeCode;
    }

    public Integer getPiece() {
        return piece;
    }

    public void setPiece(Integer piece) {
        this.piece = piece;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getVol() {
        return vol;
    }

    public void setVol(BigDecimal vol) {
        this.vol = vol;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Integer getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(Integer unitCode) {
        this.unitCode = unitCode;
    }

    public BigDecimal getFreightCharge() {
        return freightCharge;
    }

    public void setFreightCharge(BigDecimal freightCharge) {
        this.freightCharge = freightCharge;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    @Override
    public String toString() {
        return "HsOptGoodsDetail{" +
        ", ewbNo=" + ewbNo +
        ", goodsName=" + goodsName +
        ", packTypeCode=" + packTypeCode +
        ", piece=" + piece +
        ", weight=" + weight +
        ", vol=" + vol +
        ", unitPrice=" + unitPrice +
        ", unitCode=" + unitCode +
        ", freightCharge=" + freightCharge +
        ", createdTime=" + createdTime +
        "}";
    }
}
